{extend name="./content"}

{block name="content"}
<form onsubmit="return false;" action="__SELF__" data-auto="true" method="post" class='form-horizontal' style='padding-top:20px'>
	<div class="form-group">
		<label class="col-sm-2 control-label">担保时间</label>
		<div class='col-sm-8'>
			<input type="number" onkeyup="gt0(this)" name="time_guarantee" required="required"
				title="请输入担保时间" placeholder="请输入担保时间" value="{:sysconf('time_guarantee')}"
				class="layui-input" min="0">
			<p class="help-block red" style="color: red;">担保时间是自动发货后担保交易结束时间</p>
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label">延长时间</label>
		<div class='col-sm-8'>
			<input type="number" onkeyup="gt0(this)" name="time_extend" required="required"
				title="请输入延长时间" placeholder="请输入延长时间" value="{:sysconf('time_extend')}"
				class="layui-input" min="0">
			<p class="help-block red" style="color: red;">退款时间是买家申请退款后自动退款时间</p>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label">退款时间</label>
		<div class='col-sm-8'>
			<input type="number" onkeyup="gt0(this)" name="time_refund" required="required"
				title="请输入退款时间" placeholder="请输入退款时间" value="{:sysconf('time_refund')}"
				class="layui-input" min="0">
			<p class="help-block red" style="color: red;">延长时间是买家申请延长后增加担保时间</p>
		</div>
	</div>					

	<div class="form-group">
		<label class="col-sm-2 control-label">评价时间</label>
		<div class='col-sm-8'>
			<input type="number" onkeyup="gt0(this)" name="time_evaluate" required="required"
				title="请输入评价时间" placeholder="请输入评价时间" value="{:sysconf('time_evaluate')}"
				class="layui-input" min="0">
			<p class="help-block red" style="color: red;">评价时间是订单交易结束后自动评价时间</p>
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label">交易手续费</label>
		<div class='col-sm-8'>
			<input type="number" onkeyup="gt0(this)" name="transaction_min_fee" required="required"
				title="请输入最低交易手续费" placeholder="请输入最低交易手续费" value="{:sysconf('transaction_min_fee')}"
				class="layui-input" min="0">
			<p class="help-block red" style="color: red;">最低交易手续费，手续费不足的按照此手续费计算，可以和商品价格区间配合使用。</p>
		</div>
	</div>
	
    <div class="hr-line-dashed"></div>

    <div class="subto">
        <div class="layui-form-item text-center">
            <button class="layui-btn" type="submit">保存配置</button>
        </div>
    </div>

</form>
<script>
    layui.use('form', function(){
        var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
        form.render();
    });
</script>
{/block}
